<?php
    $cb = $_GET['cb'];
    $id = $_GET['id'];

    // 根据$id去数据库里查数据
    // 用数组来模拟一下
    $shop = array(
        "id" => $id,
        "title" => "鼠标",
        "price" => 199
    );
    $res = json_encode($shop);
    echo "$cb($res)";

?>